package com.hqyj.hrms.modules.salary.service;

import com.hqyj.hrms.modules.salary.entity.Salary;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.HashMap;
import java.util.List;
import java.util.Map;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author rock
 * @since 2021-10-07
 */
public interface SalaryService  {
    //新增
    HashMap<String, Object> add(Salary salary);
    //修改
    HashMap<String, Object> update(Salary salary);
    //删除
    HashMap<String, Object> del(Integer salId);
    //查询
    HashMap<String, Object> list(Salary salary);
    //根据月份查找
    HashMap<String,Object> selectByMonth2(String month);

    List<Salary> totalNum(Salary salary);


    List<Map> chart();

    List<Map> chart2();
}
